﻿using D.Traceability.Domain;
using D.Traceability.ErrorCode;
using MediatR;

namespace D.Traceability.Read.API.APPlicant.Command.TestCommand
{
    /// <summary>
    /// 获取图片通过 (生产批次号 traceaBatch  类型pTyper 是否删除 traceaIsDelete)
    /// </summary>
    public class GetTestCommand : IRequest<APIResult<List<SU_PictureModel>>>
    {
        /// <summary>
        /// 图片类型
        /// </summary>
        public PictureTypes PTyper { get; set; }


        /// <summary>
        /// 溯源生产批次  
        /// </summary>
        public string? TraceaBatch { get; set; }


        /// <summary>
        /// 逻辑删除 false 未删除  true 删除
        /// </summary>
        public bool TraceaIsDelete { get; set; }
    }
}
